#ifndef SMART_CAR_SUPER_SONIC
#define  SMART_CAR_SUPER_SONIC
#include "Arduino.h"

class SuperSonic{
	public:
	int rx_pin;//循迹右端口
	int tx_pin;
	int rxa_pin;//避障右端口
	int txa_pin;
	int button_pin;
	SuperSonic(int, int, int,int,int);
	void init();
	float getDistance();
	int getLeftLightTrack();
	int getRightLightTrack();
	int getButtonValue();
	int getLeftLightAvoid();
	int getRightLightAvoid();
};

#endif
